  <div class="widget-title">
    <h3>
      <span>{{widget_title}}</span>
    </h3>      
  </div>
  <div class="widget-content" ng-controller='AssignmentPosition'>
    <form role="form" class="form-horizontal" name="form"  ng-submit="update(position)">

      <div class="control-group">
        <label class="control-label"> 组织</label>
        <div class="controls">            
          <select ng-change="change()" ng-model="position.organization_id" placeholder="必填项" required>
            <option ng-repeat="c in organizations" value="{{c.id}}">{{c.name}}</option>
          </select>
        </div>
      </div>

      <div class="control-group">
        <label class="control-label">岗位</label>
        <div class="controls">
          <select placeholder="必填项" ng-model="position.position_id" required>
            <option ng-repeat="c in positions" value="{{c.id}}">{{c.name}}</option>
          </select>
          
        </div>
      </div>

      <div class="control-group">
        <label class="control-label"> 上岗时间</label>
        <div class="controls">            
          <input type="text" ng-model="position.induction_time" placeholder="必填项" onClick="WdatePicker({onpicked: function(){$(this).trigger('change')}});" class="input-time" required>  
        </div>         
      </div>                    

      <div class="form-actions">          
          <input type="submit" class="btn bg-green" value="保存" />     
          <input type="submit" class="btn btn-default" value="取消" />         
      </div>
    </form>
  </div>
